package com.tbr.blockchain.model;

public class TransactionParam {
    private String sender;
    private String recipient;
    private int amount;


    public TransactionParam() {
    }

    public TransactionParam(String sender, String recipient, int Amount) {
        this.sender = sender;
        this.recipient = recipient;
        this.amount = Amount;
    }

    /**
     * 获取
     * @return sender
     */
    public String getSender() {
        return sender;
    }

    /**
     * 设置
     * @param sender
     */
    public void setSender(String sender) {
        this.sender = sender;
    }

    /**
     * 获取
     * @return recipient
     */
    public String getRecipient() {
        return recipient;
    }

    /**
     * 设置
     * @param recipient
     */
    public void setRecipient(String recipient) {
        this.recipient = recipient;
    }

    /**
     * 获取
     * @return Amount
     */
    public int getAmount() {
        return amount;
    }

    /**
     * 设置
     * @param Amount
     */
    public void setAmount(int Amount) {
        this.amount = Amount;
    }

    public String toString() {
        return "TransactionParam{sender = " + sender + ", recipient = " + recipient + ", Amount = " + amount + "}";
    }
}
